# eric7.WebBrowser.SpeedDial.SpeedDialReader

Module implementing a class to read speed dial data files.

### Global Attributes

None

### Classes

SpeedDialReader | Class implementing a reader object for speed dial data files.

### Functions

None

## SpeedDialReader

Class implementing a reader object for speed dial data files.

### Derived from

QXmlStreamReader

### Class Attributes

None

### Class Methods

None

### Methods

SpeedDialReader | Constructor
__readSpeedDial | Private method to read the speed dial data.
__skipUnknownElement | Private method to skip over all unknown elements.
read | Public method to read a user agent file.

### Static Methods

None

#### SpeedDialReader (Constructor)

SpeedDialReader()

Constructor

#### SpeedDialReader.__readSpeedDial

__readSpeedDial()

Private method to read the speed dial data.

#### SpeedDialReader.__skipUnknownElement

__skipUnknownElement()

Private method to skip over all unknown elements.

#### SpeedDialReader.read

read(fileNameOrDevice)

Public method to read a user agent file.

fileNameOrDevice (str or QIODevice)
  name of the file to read or reference to the device to read

Return:
  list of speed dial pages, number of pages per row and size of the speed dial pages

Return Type:
  tuple of (list of Page, int, int)

Up